home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / utility / 444 / utility2 / arc.doc < prev    next >
Encoding:
Text File  |  1989-12-21  |  55.4 KB  |  2,101 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                    ARC
  14.  
  15.                       File Archive Utility
  16.                           Version 6.00
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.                    COPYRIGHT 1985,86,87,88,89
  43.                                by
  44.                System Enhancement Associates, Inc.
  45.                        ALL RIGHTS RESERVED
  46.  
  47.  
  48.  
  49.  
  50.  
  51.      This document describes version 6.00 of the ARC file
  52.      utility, which was created by System Enhancement
  53.      Associates, Inc. in January of 1989.
  54.  
  55.  
  56.        LIMITED WARRANTY
  57.  
  58.  
  59. IMPORTANT NOTICE:
  60. IMPORTANT NOTICE: Any use of this software for any
  61. period of time for any purpose whatsoever constitutes
  62. your unqualified acceptance of this LICENSE and
  63. subjects you to all of the terms and conditions set
  64. forth below:
  65.  
  66. System Enhancement Associates, Inc. ("SEA") warrants
  67. to any Licensee that acquires the program from SEA or
  68. an authorized SEA representative ONLY that:
  69.  
  70.  1) All diskettes SEA provides constitute an accurate
  71.     duplication of the software and SEA will replace
  72.     any diskette found to be defective within 30 days
  73.     from date of acquisition.  SEA will not honor this
  74.     warranty if the diskette has been subjected to
  75.     physical abuse, or used in defective or non-
  76.     compatible equipment.
  77.  
  78.  2) SEA's software will perform substantially as
  79.     described in the documentation SEA regularly
  80.     supplies with that software, if operated as
  81.     prescribed in such documentation including the
  82.     hardware and software environment specified.
  83.  
  84.  3) If a significant defect in any program is found,
  85.     Licensee's only remedy shall be to receive refund
  86.     of the actual fee Licensee paid for such defective
  87.     program.  In no event will such a refund exceed
  88.     the fee SEA charges for such program.
  89.  
  90.  4) SEA makes no warranty or representation that the
  91.     software will be error free nor that its use by
  92.     Licensee will be uninterrupted.
  93.  
  94. Except as provided above, SEA disclaims all other
  95. warranties, either express or implied, including but
  96. not limited to any implied warranty of merchantability
  97. or fitness for any particular purpose.
  98.  
  99. Licensee agrees to take full responsibility for the
  100. selection of and any use whatsoever made of the
  101. software.
  102.  
  103. IN NO EVENT WILL SEA BE LIABLE FOR ANY DAMAGES
  104. WHATSOEVER (INCLUDING WITHOUT LIMITATION DAMAGES FOR
  105. LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS
  106. OF BUSINESS INFORMATION OR THE LIKE) ARISING OUT OF
  107. THE USE OF, INTERRUPTION IN THE USE OF, OR INABILITY
  108. TO USE THIS SOFTWARE, EVEN IF SEA HAS BEEN ADVISED OF
  109. ANY POSSIBILITY OR LIKELYHOOD OF SUCH DAMAGES.
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.             TABLE OF CONTENTS
  121.  
  122.  
  123.      _______                                           ____
  124.      Section                                           Page
  125.  
  126.      Introduction  ....................................   1
  127.      Using ARC  .......................................   3
  128.      ARC commands  ....................................   5
  129.          Adding files  ................................   5
  130.          Extracting files  ............................   8
  131.          Deleting files  ..............................   9
  132.          Listing archive entries  .....................   9
  133.          Running files  ...............................  12
  134.          Printing files  ..............................  13
  135.          Testing an archive  ..........................  13
  136.          Converting an archive  .......................  14
  137.      ARC options  .....................................  15
  138.          Directories  .................................  15
  139.          Level 5 compatibility  .......................  15
  140.          Verbose mode  ................................  16
  141.          Backup retention  ............................  16
  142.          Suppressing compression  .....................  17
  143.          Message suppression  .........................  18
  144.          Encryption/Decryption  .......................  19
  145.      Indirection  .....................................  21
  146.      RAMdisk support  .................................  22
  147.      Version numbers  .................................  23
  148.      Common questions and answers  ....................  24
  149.      Maintenance contracts  ...........................  26
  150.      Revision history  ................................  27
  151.          Changes in version 5  ........................  27
  152.          Changes in version 5.3  ......................  29
  153.          Changes in version 6.0  ......................  29
  154.      Program history and credits  .....................  31
  155.      Bulletin boards  .................................  33
  156.      Site licenses  ...................................  34
  157.      
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.           BLANK PAGE
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230. ARC                                              Page 0
  231.               INTRODUCTION
  232.  
  233.  
  234.  
  235.      ARC is the copyrighted property of System Enhancement
  236.      Associates, Inc.  You are granted a limited license to
  237.      use ARC, and to copy it and distribute it, provided
  238.      that the following conditions are met:
  239.  
  240.      1) No fee may be charged for such copying and
  241.         distribution.
  242.  
  243.                 ____
  244.      2) ARC may only be distributed in its original,
  245.         unmodified state.
  246.  
  247.                 ___
  248.      3) ARC may not be distributed, in whole or in part, as
  249.         part of any commercial product or service without
  250.         the express written permission of System
  251.         Enhancement Associates.
  252.  
  253.  
  254.      Contributions for the use of this program will be
  255.      appreciated, and should be sent to:
  256.  
  257.                System Enhancement Associates, Inc.
  258.                   21 New Street, Wayne NJ 07470
  259.  
  260.      You may not use this product in a commercial
  261.      environment or a governmental organization without
  262.      paying a license fee of $35.  Site licenses and
  263.      commercial distribution licenses are available.  A
  264.      program disk and printed documentation are available
  265.      for $50.  See the order form enclosed with this manual
  266.      for more details.
  267.  
  268.  
  269.  
  270.      ARC is user supported software.  This means that you
  271.      may copy it freely and give the copies away to anyone
  272.      you wish, at no cost.  They are in turn requested to
  273.      send in a contribution if they decide to use it.
  274.  
  275.      The user supported software concept (often referred to
  276.         _________
  277.      as shareware) is an attempt to provide software at low
  278.      cost.  The cost of offering a new product by
  279.      conventional means is staggering, and hence dissuades
  280.      many independent authors and small companies from
  281.      developing and promoting their ideas.  User supported
  282.      software is an attempt to develop a new marketing
  283.      channel where products can be introduced at low cost.
  284.  
  285.  
  286.  
  287.  
  288.      ARC                                         Page 1
  289. If user supported software works, then everyone will
  290. benefit.  The user will benefit by receiving quality
  291. products at low cost, and by being able to "test
  292. drive" software thoroughly before purchasing it.  The
  293. author benefits by being able to enter the commercial
  294. software arena without first needing large sources of
  295. venture capital.
  296.  
  297. But it can only work with your support.  We're not
  298.                                        ___
  299. just talking about ARC here, but about all user
  300. supported software.  If you obtain a user supported
  301. program from a friend or colleague, and are still
  302. using it after a couple of weeks, then it is obviously
  303. worth something to you, and a contribution should be
  304. sent.
  305.  
  306.  
  307.  
  308. And now, back to ARC:
  309.  
  310. ARC is used to create and maintain file archives.  An
  311. archive is a group of files collected together into
  312. one file in such a way that the individual files may
  313. be recovered intact.  ARC automatically compresses the
  314. files being archived so that the resulting archive
  315. takes up a minimum amount of space.
  316.  
  317. When ARC is used to add a file to an archive it
  318. analyzes the file to determine which of three storage
  319. methods will result in the greatest savings.  These
  320. three methods are:
  321.  
  322. 1) No compression; the file is stored as is.
  323.  
  324. 2) Repeated-character compression; repeated sequences
  325.    of the same byte value are collapsed into a three-
  326.    byte code sequence.
  327.  
  328. 3) Dynamic Lempel-Ziv compression;  the file is stored
  329.    as a series of variable size bit codes which
  330.    represent character strings, and which are created
  331.    "on the fly".
  332.  
  333. Note that since one of the three methods involves no
  334. compression at all, the resulting archive entry will
  335. never be larger than the original file.
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344. ARC                                              Page 2
  345.                 USING ARC
  346.  
  347.  
  348.  
  349.      ARC is invoked with a command of the following format:
  350.  
  351.          ARC <x> <arcname> [<template> . . .]
  352.  
  353.      Where:
  354.  
  355.          <x> is an ARC command letter (see below), in
  356.          either upper or lower case.
  357.  
  358.          <arcname> is the name of the archive to act on,
  359.          with or without an extension.  If no extension is
  360.          supplied, then ".ARC" is assumed.  The archive
  361.          name may include path and drive specifiers.
  362.  
  363.          <template> is one or more file name templates.
  364.          The "wildcard" characters "*" and "?" may be used.
  365.          A file name template may include a path or drive
  366.          specifier, though it isn't always meaningful.
  367.  
  368.  
  369.      If ARC is invoked with no arguments (by typing "ARC",
  370.      and pressing "enter"), then a brief command summary is
  371.      displayed.
  372.  
  373.  
  374.  
  375.      Following is a brief summary of the available ARC
  376.      commands:
  377.  
  378.          a   = add files to archive
  379.          m   = move files to archive
  380.          u   = update files in archive
  381.          f   = freshen files in archive
  382.          d   = delete files from archive
  383.          x,e = extract files from archive
  384.          r   = run files from archive
  385.          p   = copy files from archive to standard output
  386.          l   = list files in archive
  387.          v   = verbose listing of files in archive
  388.          t   = test archive integrity
  389.          c   = convert entry to new storage method
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.      ARC                                         Page 3
  400. Following is a brief summary of the available ARC
  401. options, which may alter how a command works:
  402.  
  403.     m   = move files to archive
  404.     z   = include subdirectories in archive
  405.     v   = verbose mode
  406.     b   = retain backup copy of archive
  407.     s   = suppress compression (store only)
  408.     w   = suppress warning messages
  409.     n   = suppress notes and comments
  410.     o   = overwrite existing files when extracting
  411.     5   = produce only level 5 compatable archives
  412.     g   = encode or decode archive entry
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454. ARC                                              Page 4
  455.               ARC COMMANDS
  456.  
  457.  
  458.  
  459.      This section describes each of the commands.  ARC will
  460.      accept any one command at a time.  If no commands are
  461.      given, then a brief command list is displayed.
  462.  
  463.  
  464.  
  465.      ____________
  466.      ADDING FILES
  467.  
  468.      Files are added to an archive using the "A" (Add), "U"
  469.      (Update), or "F" (Freshen) commands.
  470.  
  471.      Add always adds the file.
  472.  
  473.      Update differs from Add in that the file is only added
  474.      if it is not already in the archive, or if it is newer
  475.      that the corresponding entry in the archive.
  476.  
  477.      Freshen is similar to Update, except that new files
  478.      are not added to the archive; only files already in
  479.      the archive are updated.
  480.  
  481.  
  482.      For example, if you wish to add a file named
  483.      "TEST.DAT" to an archive named "MY.ARC", you would use
  484.      a command of the form:
  485.  
  486.          ARC a my test.dat
  487.  
  488.      If you wanted to add all files with a ".C" extension,
  489.      and all files named "STUFF" to an archive named
  490.      "JUNK.ARC", you could type:
  491.  
  492.          ARC a junk *.c stuff.*
  493.  
  494.      If you have an archive named "TEXT.ARC", and you
  495.      wanted to add to it all of your files with an
  496.      extension of ".TXT" which have been created or changed
  497.      since they were last archived, then you would type:
  498.  
  499.          ARC u text *.txt
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.      ARC                                         Page 5
  511. If you have a bunch of files in your current
  512. directory, with backup copies being stored in an
  513. archive named "SAFE.ARC", then if you wanted to make
  514. sure that every file in the archive is the latest
  515. version of that file, you would type:
  516.  
  517.     ARC f safe
  518.  
  519.  
  520. A word about Update and Freshen:  These are similar in
  521. that they look at the date and time of last change on
  522. the file, and only add it if the file has been changed
  523. since it was last archived.  They differ in that
  524. Update will add new files, while Freshen will not.
  525.  
  526. In other words, Update looks for the files on disk,
  527. and adds them if they are new or have changed, while
  528. Freshen looks in the archive, and tries to update the
  529. files which are already there.
  530.  
  531.  
  532. The Add, Update, and Freshen commands may be modified
  533. by the "M" (Move) option.  The Move option tells ARC
  534. to delete the file on disk once it is safely tucked
  535. away in the archive.  For example, if you wanted to
  536. move all files in your current directory into an
  537. archive named "SUM.ARC", you could use a command of
  538. the form:
  539.  
  540.     ARC am sum *.*
  541.  
  542. When Move is combined with Update or Freshen, it
  543. deletes the files that are in the archive, even if it
  544. does not need to compress them again.  For example,
  545. suppose you extracted several files from an archive
  546. named "STUFF.ARC" and then made changes to a few of
  547. them.  Now you want to pack away the new versions of
  548. what you changed, and clean up the mess (that is,
  549. delete all the files you extracted).  You can do it
  550. easily by using the command:
  551.  
  552.     ARC fm stuff
  553.  
  554.  
  555. If the Move option is given by itself, it acts like an
  556. "Add and Move".  So in our earlier example of moving
  557. everything in your current directory into an archive
  558. named "SUM.ARC", you could also use the command:
  559.  
  560.     ARC m sum *.*
  561.  
  562.  
  563.  
  564.  
  565. ARC                                              Page 6
  566.      If you don't say which files to add, ARC adds
  567.      everything in your current directory.  So we could
  568.      shorten that to:
  569.  
  570.          ARC m sum
  571.  
  572.  
  573.      Archive entries are always maintained in alphabetic
  574.      order.  Archive entries may not have duplicate names.
  575.      If you add a file to an archive that already contains
  576.      a file by that name, then the existing entry in the
  577.      archive is replaced.  Also, the archive itself and its
  578.      backup will not be added.
  579.  
  580.      You may also add a file which is in a directory other
  581.      than your current directory.  For example, it is
  582.      perfectly legal to type:
  583.  
  584.          ARC a junk c:\dustbin\stuff.txt
  585.  
  586.      You cannot add two files with the same name.  In other
  587.      words, if you have a file named "C:\DUSTBIN\STUFF.TXT"
  588.      and another file named "C:\BUCKET\STUFF.TXT", then
  589.      typing:
  590.  
  591.          arc a junk c:\dustbin\*.* c:\bucket\*.*
  592.  
  593.      will not work.
  594.  
  595.  
  596.      ARC does not save the path name in this case.  In
  597.      other words, if you specify a drive and/or path when
  598.      adding a file, only the actual file name is stored in
  599.      the archive.
  600.  
  601.                   ___
  602.      However, you can store a subdirectory in an archive,
  603.      but you have to tell ARC that you want to do that.
  604.      When you add the "Z" option to an Add, Update, or
  605.      Freshen, ARC will store subdirectories and their
  606.      contents in such a way that it can later recreate
  607.      them.
  608.  
  609.      For example, suppose you have a directory name
  610.      C:\WASTE that you wish to place in an archive named
  611.      "TRASHCAN.ARC".  You could do this with the command:
  612.  
  613.          ARC az trashcan c:\waste
  614.  
  615.      This would cause ARC to place the C:\WASTE directory
  616.      (and all of its contents, including any subdirec-
  617.      tories) into the TRASHCAN.ARC archive.  The directory
  618.  
  619.  
  620.  
  621.      ARC                                         Page 7
  622. is stored in such a way that it can be extracted
  623. anywhere.  It could, for example, be extracted as
  624. D:\JUNKYARD\WASTE if you so desired.
  625.  
  626. If you combine the "Z" and "M" options, then the
  627. directories are removed from your disk once they are
  628. safely stored in the archive.
  629.  
  630.  
  631. ARC will not add an archive to itself, nor will it add
  632. the temporary copy or a backup copy of the archive.
  633.  
  634.  
  635. An interesting note:  It has been brought to our
  636. attention that BASIC programs compress to a smaller
  637.                    ___
  638. size when they are not tokenized.  If you are more
  639. concerned with space than speed, you may wish to
  640. convert your BASIC programs to ASCII form before
  641. adding them to an archive.  Your BASIC manual should
  642. give instructions on how to do this.
  643.  
  644.  
  645.  
  646. ________________
  647. EXTRACTING FILES
  648.  
  649. Archive entries are extracted with the "E" (Extract)
  650. or "X" (eXtract) commands.  For example, if you had an
  651. archive named "JUNK.ARC", and you wanted all files in
  652. it with an extension of ".TXT" or ".DOC" to be
  653. recreated on your disk, you could type:
  654.  
  655.     ARC x junk *.txt *.doc
  656.  
  657. If you wanted to extract all of the files in an
  658. archive named "JUNK.ARC", you could simply type:
  659.  
  660.     ARC x junk
  661.  
  662. Whatever method of file compression was used in
  663. storing the files is reversed, and uncompressed copies
  664. are created in the current directory.
  665.  
  666. You can also specify a path name, in which case the
  667. decompressed copy is placed in the specified
  668. directory.  For example, if you had an archive named
  669. "JUNK.ARC", and you wanted all files in it with an
  670. extension of ".TXT" to be placed in the directory
  671. "C:\WASTE\LAND", then you could type:
  672.  
  673.     ARC x junk c:\waste\land\*.txt
  674.  
  675.  
  676.  
  677.  
  678. ARC                                              Page 8
  679.      If you wanted to put the file "TRASH.TXT" on your A:
  680.      drive, and the file "LITTER.TXT" on your B: drive, you
  681.      could type:
  682.  
  683.          ARC x junk a:trash.txt b:litter.txt
  684.  
  685.      If you give more than one path for a file, then only
  686.      the first one is used.  For example, if you typed:
  687.  
  688.          ARC x junk a:trash.txt b:trash.txt
  689.  
  690.      then TRASH.TXT will be placed on your A: drive.
  691.  
  692.  
  693.  
  694.      ______________
  695.      DELETING FILES
  696.  
  697.      Archive entries are deleted with the "D" (Delete)
  698.      command.  For example, if you had an archive named
  699.      "JUNK.ARC", and you wished to delete all entries in it
  700.      with a filename extension of ".C", you could type:
  701.  
  702.          ARC d junk *.c
  703.  
  704.  
  705.  
  706.      _______________________
  707.      LISTING ARCHIVE ENTRIES
  708.  
  709.      You can obtain a list of the contents of an archive by
  710.      using the "L" (List) command or the "V" (Verbose list)
  711.      command.  For example, to see what is in an archive
  712.      named "JUNK.ARC", you could type:
  713.  
  714.          ARC l junk
  715.  
  716.      If you are only interested in files with an extension
  717.      of ".DOC", then you could type:
  718.  
  719.          ARC l junk *.doc
  720.  
  721.  
  722.      ARC prints a short listing of an archive's contents
  723.      like this:
  724.  
  725.          Name          Length    Date
  726.          ============  ========  =========
  727.          ALPHA.TXT         6784  16 May 85
  728.          BRAVO.TXT         2432  16 May 85
  729.          COCO.TXT           256  16 May 85
  730.                  ====  ========
  731.          Total      3      9472
  732.  
  733.  
  734.  
  735.      ARC                                         Page 9
  736. "Name" is simply the name of the file.
  737.  
  738. "Length" is the unpacked file length.  In other words,
  739. it is the number of bytes of disk space which the file
  740. would take up if it were extracted.
  741.  
  742. "Date" is the date on which the file had last been
  743. modified, as of the time when it was added to the
  744. archive.
  745.  
  746. "Total" is pretty obvious, I think.
  747.  
  748.  
  749. ARC prints a verbose listing of an archive's contents
  750. like this:
  751.  
  752. Name          Length    Stowage    SF   Size now  Date       Time    CRC
  753. ============  ========  ========  ====  ========  =========  ======  ====
  754. ALPHA.TXT         6784  Crunched   35%      4413  16 May 85  11:53a  8708
  755. BRAVO.TXT         2432  Crunched   41%      1438  16 May 85  11:53a  5BD6
  756. COCO.TXT           256   Packed     5%       244  16 May 85  11:53a  3AFB
  757.         ====  ========            ====  ========
  758. Total      3      9472             27%      6095
  759.  
  760.  
  761. "Name", "Length", and "Date" are the same as for a
  762. short listing.
  763.  
  764. "Stowage" is the compression method used.  The
  765. following compression methods are currently known:
  766.  
  767.        --          No compression.
  768.  
  769.      Packed        Runs of repeated byte values are
  770.                    collapsed.
  771.  
  772.     Crunched       Lempel-Ziv compression technique
  773.                    employed.
  774.  
  775.     Squeezed       Huffman encoding compression
  776.                    technique, as employed by an
  777.                    earlier version of ARC.
  778.  
  779.     Deviant        A nonstandard variant of Lempel-Ziv
  780.                    was employed.  Files compressed
  781.                    with this method should be
  782.                    converted (with the "C" command).
  783.  
  784.     Subdir         A subdirectory.  The files within
  785.                    the subdirectory may be viewed by
  786.                    using the "Z" option.
  787.  
  788.  
  789.  
  790. ARC                                             Page 10
  791.      "SF" is the stowage factor.  In other words, it is the
  792.      percentage of the file length which was saved by
  793.      compression.  The total stowage factor is the stowage
  794.      factor for the archive as a whole, not counting
  795.      archive overhead.
  796.  
  797.      "Size now" is the number of bytes the file is
  798.      occupying while in the archive.
  799.  
  800.      "Time" is the time of last modification, and is
  801.      associated with the date of last modification.
  802.  
  803.      "CRC" is the CRC check value which has been stored
  804.      with the file.  Another CRC value will be calculated
  805.      when the file is extracted or tested to ensure data
  806.      integrity.  There is no especially good reason for
  807.      displaying this value.
  808.  
  809.  
  810.      ARC follows a verbose listing with a report giving the
  811.      overall compression for everything in the archive and
  812.      for anything specific you selected, along with a
  813.      prediction of whether or not the files would fit on
  814.      your disk if you tried to extract them.
  815.  
  816.      For example, if you wanted to know if all of the files
  817.      with an extension of ".TXT" in an archive named
  818.      "WASTE.ARC" would fit on your D: drive, you would give
  819.      the command:
  820.  
  821.          ARC v waste d:*.txt
  822.  
  823.      At the end of the listing ARC would give its
  824.      prediction of whether or not your D: drive has room
  825.      for those files.
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.      ARC                                        Page 11
  846. _____________
  847. RUNNING FILES
  848.  
  849. Archive entries may be run without being extracted by
  850. use of the "R" (Run) command.  For example, if you had
  851. an archive named "JUNK.ARC" which contained a file
  852. named "LEMON.COM", which you wished to run, you could
  853. type:
  854.  
  855.     ARC r junk lemon
  856.  
  857. You can run any file from an archive which has an
  858. extension of ".COM", ".EXE", ".BAT", or ".BAS".  You
  859. do not have to specify the extension, but all matching
  860. files are run if you do not.  In other words, if you
  861. had an archive named "JUNK.ARC" which contained the
  862. files "LEMON.COM", "LEMON.EXE", and "LEMON.BAS", and
  863. you typed:
  864.  
  865.     ARC r junk lemon
  866.  
  867. Then all three programs will be run.  You can avoid
  868. this by specifying an extension in this case.
  869.  
  870. You can give arguments to the program you are running
  871. by appending them to the command line.  For example,
  872. if you have an archive named "JUNK.ARC" which contains
  873. a program named "LEMON.COM", and you wanted to run it
  874. giving it the argument "JUICE", you would type:
  875.  
  876.     ARC r junk lemon juice
  877.  
  878. You will need a fair amount of memory to run a program
  879. from an archive.  It probably cannot be done with less
  880. than 256k.
  881.  
  882. In practice, the file to be run is extracted, run, and
  883. then deleted.  In other words, the above example is
  884. equivalent to:
  885.  
  886.     ARC x junk lemon.com
  887.     lemon juice
  888.     erase lemon.com
  889.  
  890. If you have an archive which contains a program that
  891. you will be running often, then you should probably
  892. extract the program from the archive and use it
  893. normally.
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901. ARC                                             Page 12
  902.      ______________
  903.      PRINTING FILES
  904.  
  905.      Archive entries may be examined with the "P" (Print)
  906.      command.  This works the same as the Extract command,
  907.      except that the files are not created on disk.
  908.      Instead, the contents of the files are written to
  909.      standard output.  For example, if you wanted to see
  910.      the contents of every ".TXT" file in an archive named
  911.      "JUNK.ARC", but didn't want them saved on disk, you
  912.      could type:
  913.  
  914.          ARC p junk *.txt
  915.  
  916.      If you wanted them to be printed on your printer
  917.      instead of on your screen, you could type:
  918.  
  919.          ARC p junk *.txt >prn
  920.  
  921.  
  922.  
  923.      __________________
  924.      TESTING AN ARCHIVE
  925.  
  926.      The integrity of an archive may be tested by use of
  927.      the "T" (Test) command.  This checks to make sure that
  928.      all of the file headers are properly placed, and that
  929.      all of the files are in good shape.
  930.  
  931.      This can be very useful for critical archives, where
  932.      data integrity must be assured.  When an archive is
  933.      tested, all of the entries in the archive are unpacked
  934.      (without saving them anywhere) so that a CRC check
  935.      value may be calculated and compared with the recorded
  936.      CRC value.
  937.  
  938.      For example, if you just received an archive named
  939.      "JUNK.ARC" over a phone line, and you want to make
  940.      sure that you received it properly, you could type:
  941.  
  942.          ARC t junk
  943.  
  944.      It defeats the purpose of the T command to combine it
  945.      with N or W.
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.      ARC                                        Page 13
  959. _____________________
  960. CONVERTING AN ARCHIVE
  961.  
  962. The "C" (Convert) command is used to convert an
  963. archive entry to take advantage of newer compression
  964. techniques.  This is occasionally desirable when a new
  965. version of ARC is released.  Please refer to the
  966. revision history section for details on when new
  967. compression methods were implemented.
  968.  
  969. For example, if you had an archive named "JUNK.ARC",
  970. and you wanted to make sure that all files with an
  971. extension of ".DOC" were encoded using the very latest
  972. methods, you could type:
  973.  
  974.     ARC c junk *.doc
  975.  
  976. Or if you wanted to convert every file in the archive,
  977. you could type:
  978.  
  979.     ARC c junk
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014. ARC                                             Page 14
  1015.                ARC OPTIONS
  1016.  
  1017.  
  1018.  
  1019.      This section describes the options which are available
  1020.      to modify how ARC works.  Any of these options can be
  1021.      combined with any of the commands, though the result
  1022.      may not always be something you'd want to do.
  1023.  
  1024.  
  1025.  
  1026.      ___________
  1027.      DIRECTORIES
  1028.  
  1029.      The "Z" option tells ARC that you wish to act on
  1030.      directories as well as files.  When combined with Add,
  1031.      Update, Freshen, or Move it tells ARC to add
  1032.      directories to the archive.  When combined with List
  1033.      or Verbose it tells ARC to list directory contents.
  1034.      (The Extract command will always extract directories,
  1035.      and does not need to be told to do so.)
  1036.  
  1037.      A directory is treated as a unit by ARC.  This means
  1038.      that when you add a directory to an archive you add
  1039.      the whole thing, including all of its files and
  1040.      subdirectories.  Likewise, when you extract a
  1041.      directory from an archive you get all of it.
  1042.  
  1043.      If you wish to make a change to a directory that is in
  1044.      an archive, you should extract it, then make whatever
  1045.      changes you want on disk, and then put the directory
  1046.      back into the archive.
  1047.  
  1048.  
  1049.  
  1050.      _____________________
  1051.      LEVEL 5 COMPATIBILITY
  1052.  
  1053.      The "5" (level 5 compatibility) option can be combined
  1054.      with any comand that alters an archive.  It tells ARC
  1055.      that the resulting archive should be fully compatible
  1056.      with ARC version 5.  This is mostly necessary for
  1057.      creating archives that are to be extracted on other
  1058.      operating systems where the version of ARC available
  1059.      for that system does not yet support the ARC version 6
  1060.      extensions.
  1061.  
  1062.      When given the level 5 compatibility option, ARC will
  1063.      ensure that the resulting archive does not contain any
  1064.      directories, comments, or any extended data fields for
  1065.      non-MS-DOS operating systems.
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.      ARC                                        Page 15
  1072. ____________
  1073. VERBOSE MODE
  1074.  
  1075. The "V" (Verbose) option can be used with any command,
  1076. though it isn't always meaningful.
  1077.  
  1078. When used with the List command it causes ARC to
  1079. display a "verbose listing" of the archive contents.
  1080. In fact, this is its most common use, so you can use
  1081. the Verbose option as a command for this purpose.
  1082.  
  1083. When used with any command that creates a new archive
  1084. (generally during an Add or a Move), it tells ARC to
  1085. add a note to the archive saying which version of ARC
  1086. created the archive.  This note is then automatically
  1087. updated every time the archive is modified, and is
  1088. displayed during a verbose listing.
  1089.  
  1090. Normally when ARC adds files to an archive or deletes
  1091. files from an archive it doesn't say anything about
  1092. the files it isn't changing.  When you use the verbose
  1093. option ARC will report them.
  1094.  
  1095.  
  1096.  
  1097. ________________
  1098. BACKUP RETENTION
  1099.  
  1100. When ARC changes an archive (during an Add, Move,
  1101. Update, Freshen, Delete, or Convert) it creates a new
  1102. archive with the same name, but with an extension of
  1103. ".$$$".  For example, if you add a file to an archive
  1104. named STUFF.ARC, then ARC will create a new archive
  1105. named STUFF.$$$.  ARC will read from your existing
  1106. archive and write out the new archive with any changes
  1107. to the ".$$$" copy.
  1108.  
  1109. Normally when ARC is finished it deletes the original
  1110. and renames the new archive to the original name (ie.
  1111. STUFF.ARC goes away, and STUFF.$$$ becomes the new
  1112. STUFF.ARC).  Among other things, this means that if
  1113. anything goes wrong and ARC is unable to finish, then
  1114. your original archive will still be intact.
  1115.  
  1116.  
  1117. In some circumstances you may wish to retain the
  1118. original version of the archive as a backup copy.  You
  1119. can do this easily by using the Backup option.  Add
  1120. the letter "B" to your command, and ARC will rename
  1121. your original archive to have an extension of ".BAK"
  1122. instead of deleting it.
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128. ARC                                             Page 16
  1129.      In other words, if you wanted to add "WASTE.TXT" to an
  1130.      archive named "JUNK.ARC", but wanted to keep a backup
  1131.      copy, then you would type:
  1132.  
  1133.          ARC ab junk waste.txt
  1134.  
  1135.      Your original archive would become "JUNK.BAK", while
  1136.      "JUNK.ARC" would contain the new "WASTE.TXT" file.
  1137.  
  1138.  
  1139.      If you keep a backup of an archive which already has a
  1140.      backup, then the older backup copy is deleted.
  1141.  
  1142.  
  1143.  
  1144.      _______________________
  1145.      SUPPRESSING COMPRESSION
  1146.  
  1147.      The "S" (Suppress compression) option can be combined
  1148.      with any command that updates archive entries.  These
  1149.      include Add, Move, Update, Freshen, and Convert.  The
  1150.      effect of the S option is to prevent any compression
  1151.      techniques from being employed.  This is intended to
  1152.      allow you to add a few files at a time to an archive
  1153.      quickly, and then later convert the archive to
  1154.      compress everything at once.
  1155.  
  1156.      For example, over the course of a day you might give
  1157.      each of the following commands:
  1158.  
  1159.          ARC as junk *.txt
  1160.          ARC as junk *.mac
  1161.          ARC as junk *.doc
  1162.  
  1163.      At the end of the day, when you have finished adding
  1164.      things to the archive, you could have all of the
  1165.      archive entries compressed at once by typing:
  1166.  
  1167.          ARC c junk
  1168.  
  1169.      You could also decompress the archive by typing:
  1170.  
  1171.          ARC cs junk
  1172.  
  1173.      though I can't imagine why you'd want to.
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.      ARC                                        Page 17
  1185. ___________________
  1186. MESSAGE SUPPRESSION
  1187.  
  1188. ARC prints three types of messages: warnings,
  1189. comments, and errors.
  1190.  
  1191. Warnings are messages about suspected error
  1192. conditions, such as when a file to be extracted
  1193. already exists, or when an extracted file fails the
  1194. CRC error check.  Warnings may be suppressed by use of
  1195. the "W" (Warn) command.  You should use this command
  1196. sparingly.  In fact, you should probably not use this
  1197. command at all.
  1198.  
  1199. Comments (or notes) are informative messages, such as
  1200. naming each file as it is added to the archive.
  1201. Comments and notes may be suppressed by use of the "N"
  1202. (Note) command.
  1203.  
  1204. Errors are actual system problems, such as running out
  1205. of disk space.  You cannot suppress errors.
  1206.  
  1207.  
  1208. For example, suppose you extracted all files with an
  1209. extension of ".BAS" from an archive named "JUNK.ARC"
  1210. Then, after making some changes which you decide not
  1211. to keep, you decide that you want to extract them all
  1212. again, but you don't want to be asked to confirm every
  1213. one.  In this case, you could type:
  1214.  
  1215.     ARC xw junk *.bas
  1216.  
  1217. Or, if you are going to add a hundred files with an
  1218. extension of ".MSG" to an archive named "TRASH.ARC",
  1219. and you don't want ARC to list them as it adds them,
  1220. you could type:
  1221.  
  1222.     ARC an trash *.msg
  1223.  
  1224. Or, if you want to extract the entire contents of an
  1225. archive named "JUNK.ARC", and you don't want to hear
  1226. anything, then type:
  1227.  
  1228.     ARC xnw junk
  1229.  
  1230.  
  1231. A special case is provided when extracting files from
  1232. an archive.  One of the various warnings that can
  1233. occur is when a file being extracted already exists on
  1234. disk.  Normally, ARC will stop and ask you if you want
  1235. to overwrite the file.  This can be suppressed with
  1236. the "W" command, but that will also suppress any
  1237.  
  1238.  
  1239.  
  1240. ARC                                             Page 18
  1241.      warnings about other things, like failed CRC checks
  1242.      and such.
  1243.  
  1244.                                            ____
  1245.      The "O" (Overwrite) option suppresses only the warning
  1246.      that the file already exists.  For example, in our
  1247.      earlier case of extracting all the ".BAS" files from
  1248.      "JUNK.ARC", a much safer way to do it is to type:
  1249.  
  1250.          ARC xo junk *.BAS
  1251.  
  1252.  
  1253.  
  1254.      _____________________
  1255.      ENCRYPTION/DECRYPTION
  1256.  
  1257.      Archive entries may be encrypted and decrypted by
  1258.      using the "G" (Garble) option.  The Garble option
  1259.      takes the remainder of the command string as the
  1260.                                         ____
  1261.      password to use, so it must be the last option.
  1262.  
  1263.  
  1264.      For example, if you wanted to add a file named
  1265.      "WASTE.TXT" to an archive named "JUNK.ARC", and you
  1266.      wanted to encrypt it using the password "DEBRIS", then
  1267.      you would type:
  1268.  
  1269.          ARC agdebris junk waste.txt
  1270.  
  1271.      Later on, when you want to extract it again, you would
  1272.      type:
  1273.  
  1274.          ARC xgdebris junk waste.txt
  1275.  
  1276.      The password you supply is used to encrypt (or
  1277.      decrypt) the archive entry by performing an exclusive
  1278.      OR between each byte of the packed data and each byte
  1279.      of the password.  The password can be any length, and
  1280.      each of its bytes is used in rotation.  The password
  1281.      is converted to uppercase before it is used, so it is
  1282.      ___
  1283.      not case sensitive.  Since the encryption is performed
  1284.      on the packed data, it has no effect on stowage
  1285.      factors.
  1286.  
  1287.      This is not a particularly sophisticated means of
  1288.      encryption.  Still, since it is performed on the
  1289.      packed data, the result should be quite sufficient for
  1290.      casual use.
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.      ARC                                        Page 19
  1300. You can, if you wish, use different passwords for
  1301. different files in an archive, but we advise against
  1302. it.  If you are going to encrypt an archive, we
  1303. suggest you use the same password for every file, and
  1304. give the password whenever you do anything at all with
  1305. the archive.  It is possible to list the entries in an
  1306. encrypted archive using the "L" and "V" commands
  1307. without giving the password, but nothing else will
  1308. work properly.
  1309.  
  1310.  
  1311. We advise that you use this option sparingly, if at
  1312. all.  If you should forget or mistype your password,
  1313. it is highly unlikely that you will ever recover your
  1314. data.
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354. ARC                                             Page 20
  1355.                INDIRECTION
  1356.  
  1357.  
  1358.  
  1359.      The list of filenames given to ARC may include
  1360.      indirect references.  If a filename begins with an "at
  1361.      sign" ("@"), it is taken to be the name of a file
  1362.      which contains a list of file names.  The list of file
  1363.      names may include further indirection.  For example,
  1364.      the command:
  1365.  
  1366.          arc a waste junk.txt @trash
  1367.  
  1368.      would cause ARC to add JUNK.TXT plus all files listed
  1369.      in the file TRASH to an archive named WASTE.ARC.  If
  1370.      no file is specified, then the list is read from
  1371.      standard input.
  1372.  
  1373.      When the N option (suppress Notes) is used with the L
  1374.      (List files) command, it causes a terse listing of
  1375.      filenames only, suitable for use with pipes and
  1376.      redirection.  This can be combined with indirection to
  1377.      easily perform many tasks.
  1378.  
  1379.      For example, the command:
  1380.  
  1381.          arc ln waste | arc a trash @
  1382.  
  1383.      would cause ARC to add files to TRASH.ARC based on the
  1384.      names of the files stored in WASTE.ARC.
  1385.  
  1386.      If by some chance you want to archive a file whose
  1387.                  ____
  1388.      name really does begin with an at sign, then preceed
  1389.      the name with a forward slash ("/").  For example, to
  1390.      add a file named "@DUST.DAT" to an archive named
  1391.      "TRASHCAN.ARC", you would type:
  1392.  
  1393.          arc a trashcan /@dust.dat
  1394.  
  1395.  
  1396.      The MARC program also allows for indirection.
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.      ARC                                        Page 21
  1411.         RAMDISK SUPPORT
  1412.  
  1413.  
  1414.  
  1415. If you have a RAMdisk, or other high-speed storage,
  1416. then you can speed up ARC somewhat by telling it to
  1417. put its temporary files on the RAMdisk.  You do this
  1418. by setting the ARCTEMP environment string with the
  1419. MS-DOS SET command.  For example, if drive B: is your
  1420. RAMdisk, then you would type:
  1421.  
  1422.     set ARCTEMP=B:
  1423.  
  1424. Refer to the MS-DOS manual for more details about the
  1425. SET command.  You need only set the ARCTEMP string
  1426. once, and ARC will use it from then on until you
  1427. change its value or reboot your system.
  1428.  
  1429.  
  1430. If ARC does not find an environment string named
  1431. ARCTEMP, then it looks for one named TEMP to use
  1432. instead.  Several packages already use the TEMP string
  1433. for exactly this purpose.  If you have need of an
  1434. environment string named TEMP for something else, then
  1435. you should be sure to define ARCTEMP.
  1436.  
  1437.  
  1438. There are a limited number of temporary files created
  1439. by ARC.  The Convert command uses a file named
  1440. "$ARCTEMP.CVT" to hold each file as it is being
  1441. converted.  The Run command also creates a temporary
  1442. file, which has the name "$ARCTEMP", and whose
  1443. extension matches that of the file being run.
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465. ARC                                             Page 22
  1466.              VERSION NUMBERS
  1467.  
  1468.  
  1469.  
  1470.      There seems to be some confusion about our version
  1471.      numbering scheme.  All of our version numbers are
  1472.      given as a number with two decimal places.
  1473.  
  1474.      The units indicate a major revision, such as adding a
  1475.      new packing algorithm.
  1476.  
  1477.      The first decimal place (tenths) indicates a minor
  1478.      revision that is not essential, but which may be
  1479.      desired.
  1480.  
  1481.      The second decimal place (hundredths) indicates a
  1482.      trivial revision that will probably only be desired by
  1483.      specific individuals or by die-hard "latest version"
  1484.      fanatics.
  1485.  
  1486.      ARC also displays its date and time of last edit.  A
  1487.      change of the date and time without a corresponding
  1488.      change in version number indicates a truly trivial
  1489.      change, such as fixing a spelling error.
  1490.  
  1491.  
  1492.      To sum up: If the units change, then you should get
  1493.      the newer version as soon as you can.  If the tenths
  1494.      change, then you may want to get the newer version,
  1495.      but there's no hurry.  If anything else changes, then
  1496.      you probably shouldn't bother.
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.      ARC                                        Page 23
  1521.  COMMON QUESTIONS AND ANSWERS
  1522.  
  1523.  
  1524.  
  1525. Here are some of the more common questions we've
  1526. received about ARC, along with their answers:
  1527.  
  1528.  
  1529. Q: Why does ARC run out of room if I make an archive
  1530.    bigger than about 180k?
  1531.  
  1532. A: Because you are working on a floppy disk.  ARC
  1533.    creates a copy of your archive, incorporating any
  1534.    new files as it goes.  When it is done, it deletes
  1535.    the original and renames the new one.  There are a
  1536.    number of reasons for doing it this way, one being
  1537.    that your original archive is still intact if
  1538.    anything happens while ARC is running.
  1539.  
  1540.    You can save some space by using drive specifiers
  1541.    and having the archive and the files to add on
  1542.    separate disks, but you still won't be able to make
  1543.    an archive larger than about 180k.  If you need to
  1544.    make a larger archive, and if you have a fixed
  1545.    disk, then you can create the archive on the fixed
  1546.    disk and then copy it to the floppy.
  1547.  
  1548.  
  1549. Q: I've seen an ARC.COM and an ARC.EXE.  Which one is
  1550.    the right one?
  1551.  
  1552. A: ARC.EXE.  One or more people have been running ARC
  1553.    through a utility that converts an ".EXE" file to a
  1554.    ".COM" file.  But this utility is designed to save
  1555.    _____
  1556.    space, not speed.  On ARC it saves about 250 bytes,
  1557.    and makes no measurable difference in program
  1558.    speed.  We've decided that the savings are not
  1559.    worth the extra step in development in this case.
  1560.  
  1561.  
  1562. Q: How can I get the latest version of ARC?
  1563.  
  1564. A: ARC updates are distributed through normal
  1565.    shareware channels.  We also ship a program update
  1566.    disk on every order of $50 or more.  Also, please
  1567.    refer to the next section for information about our
  1568.    maintenance contracts.
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576. ARC                                             Page 24
  1577.      Q: Can I distribute my public domain or shareware
  1578.         program in an ARC format archive?
  1579.  
  1580.      A: Yes, of course.
  1581.  
  1582.  
  1583.      Q: Can I use ARC to distribute my commercial software
  1584.         package?
  1585.  
  1586.      A: Yes, provided that you obtain a commercial
  1587.         distribution license from us.  Please contact us
  1588.         for details.
  1589.  
  1590.  
  1591.      Q: Why not allow me to select which method of
  1592.         compression I want ARC to use?
  1593.  
  1594.      A: It would needlessly complicate ARC, both internally
  1595.         and in use.  The exact nature of the compression
  1596.         methods used are complex, and quite different.  The
  1597.         only sure way to tell which will be best in any
  1598.         given case is to analyze the data, as ARC does.
  1599.         The method chosen may not always be what you
  1600.         expect.
  1601.  
  1602.  
  1603.      Q: ARC keeps giving me an odd error message.  It says
  1604.         "Drive not ready.  Abort, Retry, Ignore?"  What
  1605.         does this mean?
  1606.  
  1607.      A: Close the latches ("doors") on your floppy disk
  1608.         drives, then press the "R" key.
  1609.  
  1610.  
  1611.      Q: How can I tell ARC to make an archive that goes on
  1612.         more than one floppy disk?
  1613.  
  1614.      A: Create the archive on your fixed disk, and then use
  1615.         the BACKUP command (or other backup utility).
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.      ARC                                        Page 25
  1632.      MAINTENANCE CONTRACTS
  1633.  
  1634.  
  1635.  
  1636. Registered users of ARC receive 30 days of telephone
  1637. support at no extra charge.  If you wish, you can
  1638. extend this by purchasing a maintenance contract.
  1639.  
  1640. A maintenance contract costs $50 per year.  In
  1641. addition to telephone support you also receive free
  1642. updates to ARC as soon as they are available, and a
  1643.                      ______ _____
  1644. free subscription to Making Waves, the SEA customer
  1645. support newsletter.
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687. ARC                                             Page 26
  1688.             REVISION HISTORY
  1689.  
  1690.  
  1691.  
  1692.      ____________________
  1693.      CHANGES IN VERSION 5
  1694.  
  1695.      The Move command used to delete the files as it went.
  1696.      It now waits until it is finished updating the
  1697.                                                   ___
  1698.      archive, and deletes them all at once.  (You did know
  1699.      that Move is just an Add where the file gets deleted,
  1700.      didn't you?)  This, along with the changes made in
  1701.      version 4.5, means that it is now much safer to
  1702.      interrupt ARC while it is working.
  1703.  
  1704.      The Print command no longer prints the name of each
  1705.      file.  Instead, it prints a formfeed after each file.
  1706.  
  1707.      The Run command now supports BASICA programs.  Also,
  1708.      the filename extension is no longer required on the
  1709.      Run command.
  1710.  
  1711.      The Garble option was added.  It provides a convenient
  1712.      means of low level data security for the casual user.
  1713.      Use it sparingly, if at all.
  1714.  
  1715.      ARC no longer tests for the presence of $ARCTEMP.CRN
  1716.      before creating a new one.  If you interrupt ARC a
  1717.      lot, you'll find this much more convenient.  If you
  1718.      happen to have a file named $ARCTEMP.CRN which you
  1719.      want to keep, too bad.
  1720.  
  1721.      Improved error recovery was added when reading an
  1722.      archive.  ARC now has a good chance of recovering the
  1723.      data from a corrupted archive (the corrupted entry is
  1724.      still lost, of course).
  1725.  
  1726.      Path support has been added for all commands, though
  1727.      it doesn't do anything on most of them.  For example,
  1728.      there isn't much we can do with a path in the List
  1729.      command.  But many users will be glad to know that a
  1730.      path can be used when extracting a file, and specifies
  1731.      where the file is to be placed.
  1732.  
  1733.      Support for the TEMP environment string was added.  If
  1734.      ARC doesn't find an environment string named ARCTEMP,
  1735.      then it looks for one named TEMP to use instead.
  1736.      Several packages already use the TEMP string for
  1737.      exactly this purpose.
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.      ARC                                        Page 27
  1745. ARC is now using a different variation of Lempel-Ziv
  1746. coding, courtesy of Kent Williams, who found it on
  1747. USENET and adapted it to the IBM PC.  The new method
  1748. differs from the old in several respects.  The most
  1749. significant differences are:
  1750.  
  1751. 1) Where our previous implementation used a fixed code
  1752.    size of twelve bits, the new one starts with a code
  1753.    size of nine bits and increases it as it needs to.
  1754.  
  1755. 2) The earlier method tended to "choke" on large files
  1756.    when its string table filled up.  The new method
  1757.    has a rather ingenious scheme its authors call
  1758.    ______________
  1759.    adaptive reset.  When it notices that its string
  1760.    table has filled, and its compression ratio is
  1761.    starting to suffer, it clears the table and starts
  1762.    defining new strings.
  1763.  
  1764. The previous implementation of Lempel-Ziv coding is no
  1765. longer used to pack files.  The "V" (Verbose listing)
  1766. command distinguishes between the two by referring to
  1767. the older method as "crunched" (with a lower-case
  1768. "c"), and the newer method as "Crunched" (with a
  1769. capital "C").
  1770.  
  1771. Rick Moore discovered that ARC was occasionally adding
  1772. an archive to itself.  This would only happen when the
  1773. archive is in the same directory as the files being
  1774. added, and its name comes last.  This bug has been
  1775. fixed, though it is still possible to fool ARC into
  1776. adding an archive to itself by getting tricky with
  1777. path names.
  1778.  
  1779. Dana Montgomery found the upper limit on how many
  1780. files can be added to an archive.  There's always been
  1781. an upper limit, but it depends on memory, and used to
  1782. be larger than anyone could possibly want (knock on
  1783. wood).  However, the added memory requirements as of
  1784. version 5.0 lowered this limit into the realm of
  1785. possibility, somewhere around 300 files.  We change
  1786. some things around, and effectively, there is no
  1787. longer a limit on how many files you can add at once.
  1788. ARC will add the files in batches of as many as it can
  1789. handle at one time.
  1790.  
  1791. The Run command has been modified to allow passing
  1792. command line arguments to the program being run.
  1793.  
  1794. Indirection was added, and the List command was
  1795. modified to give a terse listing suitable for use with
  1796. indirection when the N option is employed.
  1797.  
  1798.  
  1799.  
  1800. ARC                                             Page 28
  1801.      A bug was found that would keep an archive entry from
  1802.      being encrypted if it was stored without compression.
  1803.      This has now been fixed.
  1804.  
  1805.      If changes are made to a corrupted archive, the
  1806.      corrupted entries are discarded.  This makes it
  1807.      possible to lose data accidentally.  ARC will now only
  1808.      make changes to a corrupted archive if the W (suppress
  1809.      Warnings) option has been given.
  1810.  
  1811.      Support for a nonstandard variation of Lempel-Ziv was
  1812.      added.
  1813.  
  1814.      Two new utilities, SCANDISK and SQDIR, were added to
  1815.      the ARC program disk.  Full program sources for both
  1816.      are included in UNDEL.ARC on the ARC source disk.
  1817.  
  1818.  
  1819.  
  1820.      ______________________
  1821.      CHANGES IN VERSION 5.3
  1822.  
  1823.      A minor bug caused earlier versions of ARC to output
  1824.      an extra carriage return on an end of line when
  1825.      dumping text to standard output with the "P" command.
  1826.      This has now been fixed.
  1827.  
  1828.      Greatly enhanced error recovery has been added to deal
  1829.      with corrupted or partially damaged archives.  The
  1830.      corrupted data itself is still lost, of course, but
  1831.      ARC will recover everything possible.
  1832.  
  1833.      ARC has been fully ported to Microsoft C version 5.1.
  1834.      This has resulted in a small speed improvement, and
  1835.      should make it easier to port ARC to other operating
  1836.      systems.
  1837.  
  1838.      A new utility, MKSARC, was added to the ARC program
  1839.      disk.  Regretfully, we cannot release the program
  1840.      sources for MKSARC.
  1841.  
  1842.  
  1843.  
  1844.      ______________________
  1845.      CHANGES IN VERSION 6.0
  1846.  
  1847.      Version 6.0 is a major upgrade for ARC.  It is a
  1848.      substantial rewrite that greatly improves overall
  1849.      performance.  ARC is now as fast as any comparable
  1850.      program, or faster.  The changes are primarily in
  1851.      internal organization of the code, so that versions
  1852.      ported to other operating systems should experience a
  1853.      substantial performance boost as well.
  1854.  
  1855.  
  1856.  
  1857.      ARC                                        Page 29
  1858. We've also added support for directories, allowing
  1859. entire directory trees to be added or moved into an
  1860. archive, and later extracted.
  1861.  
  1862. We've also designed and implemented a method whereby
  1863. versions of ARC ported to other operating systems can
  1864. record system-specific information in a compatible
  1865. manner.  This includes provisions for longer
  1866. filenames, more date/time stamps, and even icon
  1867. bitmaps.  Contact us for details or see the comments
  1868. in the ARC sources if you are interested in using this
  1869. capability in a version of ARC for a different
  1870. operating system.
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912. ARC                                             Page 30
  1913.        PROGRAM HISTORY AND CREDITS
  1914.  
  1915.  
  1916.  
  1917.      In its short life thus far, ARC has astounded us with
  1918.      its popularity.  We first wrote it in March of 1985
  1919.      because we wanted an archive utility that used a
  1920.      distributive directory approach, since this has
  1921.      certain advantages over the then popular central
  1922.      directory approach.  We added automatic squeezing in
  1923.      version 2 at the prompting of a friend.  In version
  1924.      2.1 we added the code to test for the best compression
  1925.      method.  In less than a year we found that our humble
  1926.      little program had spread across the country, and
  1927.      seems to have become a new institution.
  1928.  
  1929.      We are thankful for the support and appreciation we
  1930.      have received.  We hope that you find this program of
  1931.      use.
  1932.  
  1933.  
  1934.      If we have achieved greatness, it is because we have
  1935.      stood upon the shoulders of giants.  Nothing is
  1936.      created as a thing unto itself, and ARC is no
  1937.      exception.  Therefore, we would like to give credit to
  1938.      the following people, without whose efforts ARC could
  1939.      not exist:
  1940.  
  1941.  
  1942.      Brian W. Kernighan and P. J. Plauger, whose book
  1943.      "Software Tools" provided many of the ideas behind the
  1944.      distributive directory approach used by ARC.
  1945.  
  1946.      Dick Greenlaw, who wrote the public domain SQ and USQ
  1947.      programs, in which the Huffman squeezing algorithm was
  1948.      first developed.
  1949.  
  1950.      Kent Williams, who graciously allowed us to use his
  1951.      LZWCOM and LZWUNC programs as a basis for our Lempel-
  1952.      Ziv compression logic, and who continues to make
  1953.      valuable contributions.
  1954.  
  1955.      David Schwaderer, whose article in the April 1985
  1956.      issue of PC Tech Journal provided us with the logic
  1957.      for calculating the CRC 16 bit polynomial.
  1958.  
  1959.      Terry A. Welch, whose article "A Technique for High
  1960.      Performance Data Compression", IEEE Computer Vol 17 No
  1961.      6 (June 1984) seems to have started all the research
  1962.      on Lempel-Ziv coding.
  1963.  
  1964.  
  1965.  
  1966.  
  1967.      ARC                                        Page 31
  1968. Spencer W. Thomas, Jim McKie, Steve Davies, Ken
  1969. Turkowski, James A.  Woods, and Joe Orost, who are the
  1970. authors of the UNIX compress utility.
  1971.  
  1972. Karl Schinke, who is the friend that suggested that we
  1973. add compression to ARC.
  1974.  
  1975. Alex Jacobs, who in June of 1985 sent us the very
  1976. first shareware contribution we ever received.
  1977.  
  1978.  
  1979. And many, many others whom we could not identify.
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022. ARC                                             Page 32
  2023.              BULLETIN BOARDS
  2024.  
  2025.  
  2026.  
  2027.      ARC is distributed mainly through shareware channels.
  2028.      Among other things, this means that ARC is available
  2029.      from many bulletin board systems.  In fact, the system
  2030.      operators (sysops) of many bulletin boards have taken
  2031.      to storing almost all of their downloadable files in
  2032.      archives to save themselves disk space and to save
  2033.      their users time.
  2034.  
  2035.      This also makes things more convenient for the
  2036.      bulletin board users, since one archive may contain
  2037.      several programs, any related data files, and the
  2038.      documentation.  Many shareware authors have taken to
  2039.      distributing their software in archives to help ensure
  2040.      that the users receive everything.
  2041.  
  2042.      Obviously, we can't do that with ARC.  As a result,
  2043.      many of our users have ARC, but don't have the manual.
  2044.      Most of our customer support calls come from people
  2045.      who have never seen the manual, and in many cases
  2046.      didn't even know that one exists!
  2047.  
  2048.      To solve this problem we developed what is in essence
  2049.      a self-unpacking archive.  We distribute this as
  2050.      "ARCxxx.EXE", where "xxx" is the current version
  2051.      number.  For example, ARC version 6.00 would be
  2052.      distributed as "ARC600.EXE".  This program, when run,
  2053.      unpacks itself into a copy of ARC plus its
  2054.      documentation.
  2055.  
  2056.      Now that we've gone to all that work, we'd really
  2057.      appreciate it if you would use this program when you
  2058.      distribute ARC.
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.      ARC                                        Page 33
  2078.          SITE LICENSES
  2079.  
  2080.  
  2081.  
  2082. Corporate users may wish to obtain a site license for
  2083. the use of ARC.  Please use the order form in this
  2084. manual to order a site license.  Site licenses are
  2085. granted as of when we receive your payment.  License
  2086. fees vary depending on the number of computers on
  2087. which ARC will be used, as follows:
  2088.  
  2089.  
  2090.              1 machine            $50
  2091.      2  to   9 machines           $35 per machine
  2092.     10  to  24 machines           $25 per machine
  2093.     25  to  49 machines           $20 per machine
  2094.     50 or more machines           $15 per machine
  2095.  
  2096.     100 or more machines at one location    $1500
  2097.  
  2098.  
  2099.  
  2100. Enclosed is a site license agreement, which should be
  2101. signed and sent with your payment when ordering a
  2102. commercial site license.
  2103.  
  2104.  
  2105. A commercial site license does not include additional
  2106. copies of the ARC program disk and the ARC manual.
  2107. Instead, you make your own copies of the disk and
  2108. manual as you need them.  If you wish, you can order
  2109. additional program disks and manuals from us.
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132. ARC                                             Page 34
  2133.  
  2134.  
  2135.